#ifndef RESULTSDIALOG_H
#define RESULTSDIALOG_H

#include <QDialog>
#include <settings.h>
#include <vector>
#include <QtCore>


namespace Ui {
    class ResultsDialog;
}

class ResultsDialog : public QDialog {
    Q_OBJECT
public:
    ResultsDialog(QWidget *parent = 0);
    ~ResultsDialog();
    QList<QString> resName;
    QList<int> resPerc;
    QString directory;
    QString image;

public slots:
    void populateTable();
    void showPreview();
    void rowSelected(int row, int);
    void setSourceImage(QString image);
    void openFoundImage();

protected:
    void changeEvent(QEvent *e);

private:
    Ui::ResultsDialog *ui;

};

#endif // RESULTSDIALOG_H
